﻿namespace QMERP.Domain.Dtos
{
    public class BulkOrderSaveRequest
    {
        public long? Id { get; set; }
        /// <summary>
        /// 类型
        /// </summary>
        public string Type { get; set; } = "";
        /// <summary>
        /// 客户单号
        /// </summary>
        public string CustomerOrderNumber { get; set; } = "";
        /// <summary>
        /// 公司订单编号
        /// </summary>
        public string OrderRef { get; set; } = "";
        /// <summary>
        /// 交收单号
        /// </summary>
        public string? TrayNumber { get; set; }
        /// <summary>
        /// 预出货日期
        /// </summary>
        public DateTime? DeliveryOn { get; set; }
        /// <summary>
        /// 出货时段
        /// </summary>
        public int OutRank { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
        /// <summary>
        /// 客户Id
        /// </summary>
        public long CustomerId { get; set; }
        /// <summary>
        /// 合约Id
        /// </summary>
        public long ContractId { get; set; }
        /// <summary>
        /// 附件Id集合
        /// </summary>
        public List<long>? AttachmentIds { get; set; }

        public List<BulkOrderDetailSaveRequest> BulkOrderDetails { get; set; } = new();
    }
}
